Split commands which results in more than one running instance of gpsbabel (testo...
authoroliskoli <oliskoli@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Sat, 14 Jan 2006 20:46:07 +0000 (20:46 +0000)
committeroliskoli <oliskoli@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Sat, 14 Jan 2006 20:46:07 +0000 (20:46 +0000)
gpsbabel/testo

index 64fee0356696a3ecd65915801bbef9bd9676dd7d..bd79e9d65384923a6855ff4112b15c1f78707596 100755 (executable)
@@ -714,15 +714,17 @@ ${PNAME} -i geo -f geocaching.loc -x stack,push,copy,nowarn -x stack,push,copy -
 # it.
 #
 
-${PNAME} -i geo -f geocaching.loc  -o tabsep -F - | ${PNAME} -i tabsep -f - -o geo -F ${TMPDIR}/tabsep.out
+${PNAME} -i geo -f geocaching.loc  -o tabsep -F ${TMPDIR}/tabsep.in
+${PNAME} -i tabsep -f ${TMPDIR}/tabsep.in -o geo -F ${TMPDIR}/tabsep.out
 ${PNAME} -i geo -f geocaching.loc  -o geo -F ${TMPDIR}/geotabsep.out
+compare ${TMPDIR}/tabsep.out ${TMPDIR}/geotabsep.out
 
 # 
 # Now do the same for custom - it has the same issues.
 #
 
-compare ${TMPDIR}/tabsep.out ${TMPDIR}/geotabsep.out
-${PNAME} -i geo -f geocaching.loc  -o custom -F - | ${PNAME} -i custom -f - -o geo -F ${TMPDIR}/custom.out
+${PNAME} -i geo -f geocaching.loc  -o custom -F ${TMPDIR}/custom.in
+${PNAME} -i custom -f ${TMPDIR}/custom.in -o geo -F ${TMPDIR}/custom.out
 ${PNAME} -i geo -f geocaching.loc  -o geo -F ${TMPDIR}/geocustom.out
 
 #